package com.kaili.basic.pojo.entity;

import com.baomidou.mybatisplus.annotations.TableName;
import com.kaili.common.pojo.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;


/**
*  地理围栏
* @author:nigang
* @Time: 2019-07-24
* @Copyright: ©  杭州凯立通信有限公司 版权所有
* @Warning: 本内容仅限于公司内部传阅,禁止外泄或用于其它商业目的
*/
@Data
@TableName("mdm_geofence")
public class MdmGeofenceEntity extends BaseEntity {
    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("围栏名称")
    private String railName;

    @ApiModelProperty("区id")
    private Integer countyId;

    @ApiModelProperty("省市区名称")
    private String countyName;

    @ApiModelProperty("经度")
    private Double lng;

    @ApiModelProperty("纬度")
    private Double lat;

    @ApiModelProperty("详细地址")
    private String detailedAddress;

    @ApiModelProperty("半径")
    private Double radius;

    @ApiModelProperty("策略类型")
    private Integer strategyType;

    @ApiModelProperty("策略类型名称")
    private String strategyTypeName;

    @ApiModelProperty("数据状态 0 删除 1 正常")
    private String rdStatus;

    @ApiModelProperty("创建人姓名")
    private String createByName;

    @ApiModelProperty("策略对象集合")
    private ArrayList<MdmRailStrategyEntity> list;

    @ApiModelProperty("省市区id数组")
    private Long[] ids;

    @ApiModelProperty("省市区name数组")
    private String[] names;
}
